package com.qdu.service;

import com.qdu.bean.Power;
import com.qdu.bean.User;

import java.util.List;

public interface UserService {

    /*根据用户名查询用户*/
    User getUser(String name);

    List<Power> selectPosition();

    boolean register(User user);

    User getUser(String name, String password);
}
